<script setup lang="ts"></script>

<template>
  <view class="back-top" @click="$emit('click')">
    <wd-icon name="backtop" size="22px" color="#1876FF"></wd-icon>
  </view>
</template>

<style lang="scss" scoped>
.back-top {
  position: fixed;
  right: 40rpx;
  bottom: 130rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80rpx;
  height: 80rpx;
  background: #f8f9fb;
  border-radius: 12rpx;
  box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
}
</style>
